package test.serverframe.armc.server.manager.service.exec.params;

import java.util.concurrent.atomic.AtomicInteger;

import org.springframework.scheduling.quartz.SchedulerFactoryBean;

/**
 * 任务调度执行参数
 *
 * @author LiuChunfu
 * @date 2019.01.19
 */
public class TaskInvokeExecutorParams {

    /**
     * 任务调度ID
     */
    private String taskInvokeId;
    
    /**
     * 调度记录id
     */
    private String invokeRecordId;
    
    /**
     * 失败策略
     */
    private String failedStrategy;
    
    /**
     * 任务总数
     */
    private AtomicInteger taskTotal;
    
    /**
     * 任务成功总数
     */
    private AtomicInteger successTaskTotal;
    
    /**
     * 重新执行标志
     */
    private Boolean isReStart;
    
    /**
     * 任务的预期总数
     */
    private Integer expectedTaskTotal;
    
    public String getTaskInvokeId() {
        return taskInvokeId;
    }

    public void setTaskInvokeId(String taskInvokeId) {
        this.taskInvokeId = taskInvokeId;
    }

	public String getInvokeRecordId() {
		return invokeRecordId;
	}

	public void setInvokeRecordId(String invokeRecordId) {
		this.invokeRecordId = invokeRecordId;
	}

	public String getFailedStrategy() {
		return failedStrategy;
	}

	public void setFailedStrategy(String failedStrategy) {
		this.failedStrategy = failedStrategy;
	}

	public AtomicInteger getTaskTotal() {
		return taskTotal;
	}

	public void setTaskTotal(AtomicInteger taskTotal) {
		this.taskTotal = taskTotal;
	}

	public AtomicInteger getSuccessTaskTotal() {
		return successTaskTotal;
	}

	public void setSuccessTaskTotal(AtomicInteger successTaskTotal) {
		this.successTaskTotal = successTaskTotal;
	}

	public Boolean getIsReStart() {
		return isReStart;
	}

	public void setIsReStart(Boolean isReStart) {
		this.isReStart = isReStart;
	}

	public Integer getExpectedTaskTotal() {
		return expectedTaskTotal;
	}

	public void setExpectedTaskTotal(Integer expectedTaskTotal) {
		this.expectedTaskTotal = expectedTaskTotal;
	}

}
